-- GENERATED SPELL FOR [Mirelow] --


function spell0_14424(pUnit, Event) --@Entangling Roots,n/a--
pUnit:FullCastSpellOnTarget(22127,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14424', 11500, 1)
end

function Sorts_14424(pUnit, Event)
local choix_sorts_14424 = math.random(0, 0)
if choix_sorts_14424 == 0 then
pUnit:RegisterEvent('spell0_14424', 1, 1)
end
end

function mob14424_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14424', math.random(1500, 3000), 1)
end

function mob14424_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14424_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14424_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14424, 1, 'mob14424_Action')
RegisterUnitEvent(14424, 2, 'mob14424_Leave')
RegisterUnitEvent(14424, 3, 'mob14424_Kill')
RegisterUnitEvent(14424, 4, 'mob14424_Die')
